<template>
  <slot name="default"></slot>
  <teleport to="body">
    <Loading :config="{ isLoading }"></Loading>
  </teleport>
</template>

<script setup lang="ts">
import Loading from '@/components/Loading/index.vue'
withDefaults(
  defineProps<{
    isLoading: boolean
  }>(),
  {
    isLoading: false
  }
)
</script>

<style scoped lang="scss"></style>
